package com.xinsoft.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.xinsoft.entity.dto.CusDeviceNetWorkDTO;
import com.xinsoft.entity.dto.CusDevicePageParam;
import com.xinsoft.entity.po.CusDevice;
import com.xinsoft.entity.vo.CusDeviceVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
* @author hsm
* @description 针对表【cus_device(设备表)】的数据库操作Mapper
* @createDate 2023-06-13 15:45:33
* @Entity com.xinsoft.entity.po.CusDevice
*/
public interface CusDeviceMapper extends BaseMapper<CusDevice> {

    IPage<CusDeviceVo> findListByParam(Page<?> page, @Param("param") CusDevicePageParam param);

    List<CusDeviceVo> findListByParam(@Param("param") CusDevicePageParam param);



    CusDeviceVo findDeviceInfo(@Param("id") Integer id);

    List<CusDeviceNetWorkDTO> networkingDeviceList(@Param("param") CusDeviceNetWorkDTO param);



}




